import { App } from 'vue'

import * as niuIcons from '@/assets/icons'

export default function (app: App): void {
  for (const Icon in niuIcons) {
    app.component(`NiuIcon${Icon}`, niuIcons[Icon])
  }
}
